<!--- filefield sent by FlashUpload is called FileData ---> <cfif structkeyexists(form,"Filedata")> <cffile action="UPLOAD" filefield="Filedata" destination="#expandpath(".")#" nameconflict="MAKEUNIQUE"> <!--- delete the file to save space ---> <cffile action="DELETE" file="#cffile.serverDirectory#/#cffile.serverfile#"> </cfif> <!--- send empty string for workaround with Flash 8 bug on Mac platform ---> <cfoutput> </cfoutput>